package com.fh.shop.common;

import com.fh.shop.util.IEnum;

public enum ResponseEnum implements IEnum {
    ORDER_INFO_IS_NULL(9000,"订单信息为空"),
    ORDER_CANCEL_IS_ERROR(9004,"取消订单异常，订单状态以改变");
    private int code;
    private String msg;

    private ResponseEnum(int code,String msg){
        this.code = code;
        this.msg = msg;
    }

    @Override
    public int getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
